﻿using Zhaoxi.Apps.Application.System.Services;

namespace Zhaoxi.Apps.Application.System
{
    /// <summary>
    /// 系统服务接口
    /// </summary>
    public class UserAppService : IDynamicApiController
    {
        private readonly IUserService _userService;
        public UserAppService(IUserService userService)
        {
            _userService = userService;
        }

        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <returns></returns>
        public string GetDescription()
        {
            return _userService.GetDescription();
        }

        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <returns></returns>
        [HttpPost]
        public string PDescription()
        {
            return _userService.GetDescription();
        }
    }
}